{% extends "base/base_list.html" %}


{% block main %}

<div class="panel panel-default">
  <!-- Default panel contents -->
  <div class="panel-heading">用户列表</div>

  <!-- Table -->
  <table class="table">
{% load endless %}
{% paginate 10 list %}
    {%for item in list%}
      <tr>
          <td><a href="{%url users_show item.id%}">{{item.get_profile.nickName}}</a></td>
          <td>{{item.get_profile.integral}}</td>
          <td>{{item.get_profile.themeCount}}/{{item.get_profile.replyCount}}</td>
          <td>{{item.get_profile.group.name}}</td>
      </tr>
    {%endfor%}
  </table>

<div class="pagination pagination-centered">
  <div>{% show_pages %}</div>
</div>

</div>


{% endblock %}